package com.example.compare;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author houyangfan
 * @version 1.0
 * @date 2022/7/21 10:57
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Employee extends Person{

    private String company;

    public Employee(String name, String identify, String company) {
        super(name, identify);
        this.company = company;
    }

}
